<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <title>饿了吗</title>
    <link rel="stylesheet" href="{$base_url.base_url}application/views/templates/login/css/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="{$base_url.base_url}application/views/templates/login/css/style.css">
</head>

<body>
    <div class="materialContainer">
        <div class="box">
            <form action="{$base_url.base_url}user/login" method="post">
				<div class="title">登录</div>
				<div class="input">
					<label for="name">用户名</label>
					<input type="text" name="username" id="name">
					<span class="spin"></span>
				</div>
				<div class="input">
					<label for="pass">密码</label>
					<input type="password" name="password" id="pass">
					<span class="spin"></span>
				</div>
				<div>
					<select name="identity">
						<option value="diner">我要点餐</option>
						<option value="rider">我是骑手</option>
						<option value="merchant">我是商家</option>
					</select>
				</div>
				<div class="button login">
					<button type="submit">
						<span>登录</span>
						<i class="fa fa-check"></i>
					</button>
				</div>
			</form>

        </div>

        <div class="overbox">
            <div class="material-button alt-2">
                <span class="shape"></span>
            </div>
            <form action="{$base_url.base_url}diner/register" method="post">
				<div class="title">用户注册</div>
				<div class="input">
					<label for="regname">用户名</label>
					<input type="text" name="username" id="regname">
					<span class="spin"></span>
				</div>
				<div class="input">
					<label for="regpass">密码</label>
					<input type="password" name="password" id="regpass">
					<span class="spin"></span>
				</div>
				<div class="input">
					<label for="regphone">联系电话</label>
					<input type="text" name="phone_number" id="regphone">
					<span class="spin"></span>
				</div>
				<div class="button">
					<button type="submit">
						<span>注册</span>
					</button>
				</div>
			</form>
        </div>

    </div>
    <script src="{$base_url.base_url}application/views/templates/js/jquery.min.js"></script>
    <script src="{$base_url.base_url}application/views/templates/login/js/index.js"></script>
</body>

</html>
